package com.edu.neusoft.phone_sale.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 客户信息表，记录所有客户的信息，便于销售管理和客户关系维护(Customers)表实体类
 */
@Data

public class Customers extends Model<Customers> {
    //客户ID，主键，自动递增
    @TableId
    private Integer customerid;
    //客户名称，不能为空
    private String customername;
    //联系电话，允许为空（但通常建议填写）
    private String contactphone;
    //地址，允许为空（但详细地址有助于后续服务）
    private String address;
    //邮箱，允许为空（但邮箱是与客户沟通的重要渠道）
    private String email;


    public Integer getCustomerid() {
        return customerid;
    }

    public void setCustomerid(Integer customerid) {
        this.customerid = customerid;
    }

    public String getCustomername() {
        return customername;
    }

    public void setCustomername(String customername) {
        this.customername = customername;
    }

    public String getContactphone() {
        return contactphone;
    }

    public void setContactphone(String contactphone) {
        this.contactphone = contactphone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

}

